﻿using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace PickGold.Base.OCR
{
	[Serializable]
	public enum MatchModelLevel : byte { Lowest = 0, Normal = 1, Highest = 2 }

	/// <summary>
	/// 图像灰度化标志
	/// </summary>
	[Flags]
	public enum GrayFlag {
		/// <summary>
		/// 加权值
		/// </summary>
		Weighting = 0,
		/// <summary>
		/// 最大值
		/// </summary>
		Max = 1,
		/// <summary>
		/// 最小值
		/// </summary>
		Min = 2,
		/// <summary>
		/// 平均值
		/// </summary>
		Average = 4,
		/// <summary>
		/// Alpha通道
		/// </summary>
		A = 8,
		/// <summary>
		/// 红色通道
		/// </summary>
		R = 16,
		/// <summary>
		/// 绿色通道
		/// </summary>
		G = 32,
		/// <summary>
		/// 蓝色通道
		/// </summary>
		B = 64
	}

	public class MatchModelDictionary : Dictionary<string, MatchModel> { }
	public class MatchModelFileDictionary : Dictionary<FileInfo, MatchModelDictionary> { }
}
